function get_upload_files_page(){
	$.ajax({
		url:"upload_files.php",
		type:"GET",
		success: function(data){
			$("#type1").attr("class", "active");
			$("#type2").attr("class", "");
			$("#type3").attr("class", "");
			$("#main-body").html(data);
		}
	})
}

function get_upload_textareas_page(){
	$.ajax({
		url:"upload_textareas.php",
		type:"GET",
		success: function(data){
			$("#type2").attr("class", "active");
			$("#type1").attr("class", "");
			$("#type3").attr("class", "");
			$("#main-body").html(data);
			
		}
	})
	
}

function get_upload_urls_page(){
	$.ajax({
		url:"upload_urls.php",
		type:"GET",
		success: function(data){
			$("#type3").attr("class", "active");
			$("#type1").attr("class", "");
			$("#type2").attr("class", "");
			$("#main-body").html(data);
			
		}
	})	
}


function submit(){
	$("#my-form").submit();
}



$(document).ready(get_upload_files_page);